import Vue from 'vue';
import VueRouter from 'vue-router';
import MintUI from 'mint-ui';
import './assets/scss/reset.scss';
import 'mint-ui/lib/style.css';
import routes from './router';

Vue.use(VueRouter);
Vue.use(MintUI);

const router = new VueRouter({
    mode: 'history',
    routes
});

// router.beforeEach(function (to, from, next) {
//     console.log(from + '>>>>' + to);
// });

new Vue({
    el: '#app',
    router
});
